State
Define the possible states when checking if a user has premium privileges in the app.
Parameters
id
Numeric id of the state.
Entries
Link copied to clipboard
Content copied to clipboard
User does not have premium privileges. This indicates that the user has never purchased a premium version of the app, so should be denied access to premium features.
Link copied to clipboard
Content copied to clipboard
Indicates that the user has started the process of purchasing a premium version of the app, but the purchase has not yet been completed. In this case, access to premium features should be denied until the transaction status changes, whether it is completed or canceled.